package net.atomtree.corrsepond.mode;

import java.util.Map;

/**
 * Created by czk on 2016/1/2.
 */
public class JobMode implements LinkMode{
    public static final int jobMode=0;
    public static final int jobIdMode=1;
    public static final String ParamIsNull=null;
    @Override
    public int AnalyseMode(Map<String, String> URLParam) {
        if(ParamIsNull==URLParam.get("jobId"))
            return jobMode;
        return jobIdMode;
    }
}
